package com.ym.service;

import com.ym.domain.Device;
import com.ym.dto.DeviceResDto;
import com.ym.util.JSONResult;

import java.util.List;

public interface IDeviceService {
    public DeviceResDto queryDeviceById(Long deviceId);

    JSONResult add(Device device);

    List<Device> getDeviceList(Long id,Long floorId);

    List<Device> getDeviceListByType(Long type);
}
